package com.ruoyi.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程信息对象 courses
 * 
 * @author ruoyi
 * @date 2025-02-22
 */
public class Courses extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程id */
    private Long courseId;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 老师姓名 */
    @Excel(name = "老师姓名")
    private String teacherName;

    /** 学生id */
    @Excel(name = "学生id")
    private Long studentId;

    /** 学生信息信息 */
    private List<Students> studentsList;

    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setCourseName(String courseName) 
    {
        this.courseName = courseName;
    }

    public String getCourseName() 
    {
        return courseName;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }

    public List<Students> getStudentsList()
    {
        return studentsList;
    }

    public void setStudentsList(List<Students> studentsList)
    {
        this.studentsList = studentsList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("courseId", getCourseId())
            .append("courseName", getCourseName())
            .append("teacherName", getTeacherName())
            .append("studentId", getStudentId())
            .append("studentsList", getStudentsList())
            .toString();
    }
}
